package models;

public class TaiKhoan {

    private String taikhoan;
    private String matkhau;
    private Quyen quyen;
    private String MSNV;
    private boolean isDel;

    public TaiKhoan(String MSNV) {
        this.MSNV = MSNV;
    }

    public TaiKhoan(String taikhoan, String matkhau, Quyen quyen) {
        this.taikhoan = taikhoan;
        this.matkhau = matkhau;
        this.quyen = quyen;
        this.isDel = false;
    }

    public TaiKhoan(String taikhoan, String matkhau, Quyen quyen, String MSNV) {
        this.taikhoan = taikhoan;
        this.matkhau = matkhau;
        this.quyen = quyen;
        this.MSNV = MSNV;
        this.isDel = false;
    }

    public TaiKhoan(String taikhoan, String matkhau) {
        this.taikhoan = taikhoan;
        this.matkhau = matkhau;
        this.isDel = false;
    }

    public String getTaikhoan() {
        return this.taikhoan;
    }

    public void setTaikhoan(String taikhoan) {
        this.taikhoan = taikhoan;
    }

    public String getMatkhau() {
        return this.matkhau;
    }

    public void setMatkhau(String matkhau) {
        this.matkhau = matkhau;
    }

    public Quyen getQuyen() {
        return this.quyen;
    }

    public void setQuyen(Quyen quyen) {
        this.quyen = quyen;
    }

    public void setMSNV(String MSNV) {
        this.MSNV = MSNV;
    }

    public String getMSNV() {
        return MSNV;
    }
    
    public void setIsdelete(boolean rs){
        this.isDel = rs;
    }
    public boolean getIsdelete(){
        return this.isDel;
    }
}
